\hypertarget{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding}{\section{strange.\-extensions.\-command.\-api.\-I\-Command\-Binding Interface Reference}
\label{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding}\index{strange.\-extensions.\-command.\-api.\-I\-Command\-Binding@{strange.\-extensions.\-command.\-api.\-I\-Command\-Binding}}
}


Defines the form of a Binding for use with the Command\-Binder.  


Inheritance diagram for strange.\-extensions.\-command.\-api.\-I\-Command\-Binding\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.544304cm]{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a83a6c902c38775b55ba74e75807cd603}{\hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding}{I\-Command\-Binding} \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a83a6c902c38775b55ba74e75807cd603}{Once} ()}\label{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a83a6c902c38775b55ba74e75807cd603}

\begin{DoxyCompactList}\small\item\em Declares that the Binding is a one-\/off. As soon as it's satisfied, it will be unmapped. \end{DoxyCompactList}\item 
\hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding}{I\-Command\-Binding} \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_acbaef737b3351ad56d071e214061af1d}{In\-Parallel} ()
\begin{DoxyCompactList}\small\item\em Declares that the bound commands will be run in parallel. \end{DoxyCompactList}\item 
\hypertarget{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a6cebcf5a61c1b6a8b3c90207be458c58}{\hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding}{I\-Command\-Binding} \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a6cebcf5a61c1b6a8b3c90207be458c58}{In\-Sequence} ()}\label{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a6cebcf5a61c1b6a8b3c90207be458c58}

\begin{DoxyCompactList}\small\item\em Declares that the bound commands will be run as a sequence, rather than in parallel. \end{DoxyCompactList}\item 
\hypertarget{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a34d08b3730d94b7ea0f0c18a7745ada5}{\hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding}{I\-Command\-Binding} \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a34d08b3730d94b7ea0f0c18a7745ada5}{Pooled} ()}\label{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a34d08b3730d94b7ea0f0c18a7745ada5}

\begin{DoxyCompactList}\small\item\em Declares that the Commands generated by this binding will be pooled. \end{DoxyCompactList}\item 
\hypertarget{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a628635ed2dd5961cee65303a6cf05373}{new \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding}{I\-Command\-Binding} \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a628635ed2dd5961cee65303a6cf05373}{Bind$<$ T $>$} ()}\label{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a628635ed2dd5961cee65303a6cf05373}

\begin{DoxyCompactList}\small\item\em Tie this binding to a Type key. \end{DoxyCompactList}\item 
\hypertarget{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_af4b3632810b952f87dde8ddb51c2edd2}{new \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding}{I\-Command\-Binding} \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_af4b3632810b952f87dde8ddb51c2edd2}{Bind} (object \hyperlink{interfacestrange_1_1framework_1_1api_1_1_i_binding_acec8686208598f9f4a952ffd05449c4d}{key})}\label{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_af4b3632810b952f87dde8ddb51c2edd2}

\begin{DoxyCompactList}\small\item\em Tie this binding to a value key, such as a string or class instance. \end{DoxyCompactList}\item 
\hypertarget{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a777ffbebe4138283cae11d1e8e809e0e}{new \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding}{I\-Command\-Binding} \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a777ffbebe4138283cae11d1e8e809e0e}{To$<$ T $>$} ()}\label{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a777ffbebe4138283cae11d1e8e809e0e}

\begin{DoxyCompactList}\small\item\em Set the Binding's value to a Type. \end{DoxyCompactList}\item 
\hypertarget{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a008864440e0b76036a43e38e189a2652}{new \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding}{I\-Command\-Binding} \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a008864440e0b76036a43e38e189a2652}{To} (object o)}\label{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a008864440e0b76036a43e38e189a2652}

\begin{DoxyCompactList}\small\item\em Set the Binding's value to a value, such as a string or class instance. \end{DoxyCompactList}\item 
\hypertarget{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a998bbf0e04e35c8ad80227332f759da0}{new \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding}{I\-Command\-Binding} \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a998bbf0e04e35c8ad80227332f759da0}{To\-Name$<$ T $>$} ()}\label{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a998bbf0e04e35c8ad80227332f759da0}

\begin{DoxyCompactList}\small\item\em Qualify a binding using a marker type. \end{DoxyCompactList}\item 
\hypertarget{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a989f016192a9ea2b6739fc635bbdef0b}{new \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding}{I\-Command\-Binding} \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a989f016192a9ea2b6739fc635bbdef0b}{To\-Name} (object o)}\label{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a989f016192a9ea2b6739fc635bbdef0b}

\begin{DoxyCompactList}\small\item\em Qualify a binding using a value, such as a string or class instance. \end{DoxyCompactList}\item 
\hypertarget{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a3f74bf2e56cdabf66633699eb613e250}{new \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding}{I\-Command\-Binding} \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a3f74bf2e56cdabf66633699eb613e250}{Named$<$ T $>$} ()}\label{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a3f74bf2e56cdabf66633699eb613e250}

\begin{DoxyCompactList}\small\item\em Retrieve a binding if the supplied name matches, by Type. \end{DoxyCompactList}\item 
\hypertarget{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a944ca3f289146a7eebe115dba2a9b2f5}{new \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding}{I\-Command\-Binding} \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a944ca3f289146a7eebe115dba2a9b2f5}{Named} (object o)}\label{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a944ca3f289146a7eebe115dba2a9b2f5}

\begin{DoxyCompactList}\small\item\em Retrieve a binding if the supplied name matches, by value. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Properties}
\begin{DoxyCompactItemize}
\item 
\hypertarget{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a624de4954de4f3517b1f4c6af11153ff}{bool \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a624de4954de4f3517b1f4c6af11153ff}{is\-One\-Off}\hspace{0.3cm}{\ttfamily  \mbox{[}get, set\mbox{]}}}\label{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a624de4954de4f3517b1f4c6af11153ff}

\begin{DoxyCompactList}\small\item\em Get/set the property set to {\ttfamily true} by {\ttfamily \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a83a6c902c38775b55ba74e75807cd603}{Once()}} \end{DoxyCompactList}\item 
\hypertarget{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_afde7b78ee9f21bb60c993b530bdf3aff}{bool \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_afde7b78ee9f21bb60c993b530bdf3aff}{is\-Sequence}\hspace{0.3cm}{\ttfamily  \mbox{[}get, set\mbox{]}}}\label{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_afde7b78ee9f21bb60c993b530bdf3aff}

\begin{DoxyCompactList}\small\item\em Get/set the propterty set by \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a6cebcf5a61c1b6a8b3c90207be458c58}{In\-Sequence()} and \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_acbaef737b3351ad56d071e214061af1d}{In\-Parallel()} \end{DoxyCompactList}\item 
\hypertarget{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a33c5abb4826361c421de50a9e214d3f4}{bool \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a33c5abb4826361c421de50a9e214d3f4}{is\-Pooled}\hspace{0.3cm}{\ttfamily  \mbox{[}get, set\mbox{]}}}\label{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a33c5abb4826361c421de50a9e214d3f4}

\begin{DoxyCompactList}\small\item\em Get/set the propterty set by \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a34d08b3730d94b7ea0f0c18a7745ada5}{Pooled()} \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Defines the form of a Binding for use with the Command\-Binder. 

The only real distinctions between Command\-Binding and Binding are\-:
\begin{DoxyItemize}
\item the addition of {\ttfamily \hyperlink{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_a83a6c902c38775b55ba74e75807cd603}{Once()}}, which signals that the Binding should be destroyed immediately after a single use.
\item a marker for running multiple commands in parallel (default) or sequentially. 
\end{DoxyItemize}

\subsection{Member Function Documentation}
\hypertarget{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_acbaef737b3351ad56d071e214061af1d}{\index{strange\-::extensions\-::command\-::api\-::\-I\-Command\-Binding@{strange\-::extensions\-::command\-::api\-::\-I\-Command\-Binding}!In\-Parallel@{In\-Parallel}}
\index{In\-Parallel@{In\-Parallel}!strange::extensions::command::api::ICommandBinding@{strange\-::extensions\-::command\-::api\-::\-I\-Command\-Binding}}
\subsubsection[{In\-Parallel}]{\setlength{\rightskip}{0pt plus 5cm}{\bf I\-Command\-Binding} strange.\-extensions.\-command.\-api.\-I\-Command\-Binding.\-In\-Parallel (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{interfacestrange_1_1extensions_1_1command_1_1api_1_1_i_command_binding_acbaef737b3351ad56d071e214061af1d}


Declares that the bound commands will be run in parallel. 

Parallel is the default. There is no need to call this unless you're changing from sequence. 

Implemented in \hyperlink{classstrange_1_1extensions_1_1command_1_1impl_1_1_command_binding_a25ea62fb08609aaba172f2c1c8c6efa6}{strange.\-extensions.\-command.\-impl.\-Command\-Binding}.



The documentation for this interface was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Strange\-Io\-C/scripts/strange/extensions/command/api/I\-Command\-Binding.\-cs\end{DoxyCompactItemize}
